﻿using System;
using System.Collections.Generic;
using System.Text;
using static xiaodingmarket_Domain.Models.EunmType;

namespace xiaodingmarket_Domain.Commands.Order
{
    public class UpdateOrderCommand : OrderCommand
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderCondition Condition { get; set; }
        /// <summary>
        /// 修改订单者id
        /// </summary>
        public Guid ModifyUserId { get; set; }
        /// <summary>
        /// 最后一次修改订单时间
        /// </summary>
        public DateTime ModifyTime { get; set; }
        /// <summary>
        /// 订单备注
        /// </summary>
        public string Remark { get; set; }

        public override bool IsValid()
        {
            return true;
        }
    }
}
